package org.example.demo.common.serializer;

public interface Serializer {
    byte[] serializeRaw(Object data);
    String serialize(Object data);
    <T> T deserialize(byte[] data);
    <T> T deserialize(String data);
}
